package com.hy.heath.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class VaccineRecord {
    @TableId(type = IdType.AUTO)
    private Integer vaccineId;
    @TableField("user_id")
    private Integer userId;
    @TableField("vaccine_name")
    private String vaccineName;
    @TableField("vaccine_type")
    private String vaccineType;
    private String manufacturer;
    private String batchNumber;
    private LocalDate vaccinationDate;
    private LocalDate nextVaccinationDate;
    private String hospital;
    private LocalDateTime createdAt;
}

